#ifndef PSSM_SHADOW_LISTENER_H_
#define PSSM_SHADOW_LISTENER_H_

#include "stdafx.h"

namespace rpg {

	class PssmShadowListener : public Ogre::ShadowListener {
	public:
		PssmShadowListener(Ogre::SceneManager *sceneManager, Ogre::Light *light, Ogre::ShadowCameraSetupPtr cameraSetup, Ogre::Camera *camera);

	//	void shadowTexturesUpdated(
	private:
		Ogre::Light *mLight;
		Ogre::ShadowCameraSetupPtr mCameraSetup;
		Ogre::Camera *mViewCamera;
		Ogre::SceneManager *mSceneManager;
		int mSplitIndex;
	};

}

#endif /* PSSM_SHADOW_LISTENER_H_ */
